package org.jradweb.core.taglib;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;

import org.springframework.web.context.WebApplicationContext;

public class BaseTag extends BodyTagSupport {
	protected WebApplicationContext appCtx;
	@Override
	public int doStartTag() throws JspException {
		this.appCtx=(WebApplicationContext)this.pageContext.getServletContext().getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);
		return super.doStartTag();
	}
}
